// - 定点巡更 -

export const SYS_PLAN = '1'
export const CUSTOM_PLAN = '3'
export const SYS_TASK = '2'
export const CUSTOM_TASK = '3'

// 计划来源
export const planSourceList = [
  { label: '系统计划', value: SYS_PLAN, abbr: '系', color: '#409eff' },
  { label: '自定计划', value: CUSTOM_PLAN, abbr: '自', color: '#67c23a' }
]
// 重复类型
export const cycleTypeList = [
  { label: '日', value: 'DAY', days: 1 },
  { label: '周', value: 'WEEK', days: 7 },
  { label: '月', value: 'MONTH', days: 30 }
]
// 任务来源
export const taskSourceList = [
  { label: '计划任务', value: SYS_PLAN, abbr: '计', color: '#409eff' },
  { label: '系统任务', value: SYS_TASK, abbr: '系', color: '#e6a23c' },
  { label: '自定任务', value: CUSTOM_TASK, abbr: '自', color: '#67c23a' }
]
// 巡查结果
export const inspectResultList = [
  { label: '无问题', value: '0', raw: { listClass: 'primary' } },
  { label: '有问题', value: '1', raw: { listClass: 'danger' } }
]
